//
//  UIBarButtonItem+Extension.h
//
//  Created by apple on 16-1-1.
//  Copyright (c) 2016年 kuroken. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (Extension)
+ (UIBarButtonItem *)itemWithTarget:(id)target action:(SEL)action image:(NSString *)image highImage:(NSString *)highImage selectImage:(NSString *)selectImage;
+ (UIBarButtonItem *)itemWithTarget:(id)target action:(SEL)action image:(NSString *)image highImage:(NSString *)highImage;
+ (UIBarButtonItem *)itemWithTarget:(id)target action:(SEL)action image:(NSString *)image selectImage:(NSString *)selectImage;
+ (UIBarButtonItem *)itemWithTarget:(id)target action:(SEL)action image:(NSString *)image;


+ (UIBarButtonItem *)itemWithCustomBtn:(UIButton *)btn Target:(id)target action:(SEL)action image:(NSString *)image highImage:(NSString *)highImage selectImage:(NSString *)selectImage;
+ (UIBarButtonItem *)itemWithCustomBtn:(UIButton *)btn Target:(id)target action:(SEL)action image:(NSString *)image highImage:(NSString *)highImage;
+ (UIBarButtonItem *)itemWithCustomBtn:(UIButton *)btn Target:(id)target action:(SEL)action image:(NSString *)image selectImage:(NSString *)selectImage;
+ (UIBarButtonItem *)itemWithCustomBtn:(UIButton *)btn Target:(id)target action:(SEL)action image:(NSString *)image;

/** 返回通过itemWithTarget或itemWithCustomBtn方法创建的UIButton, 否则返回值为空 */
@property (nonatomic, weak) UIButton *barButton;

@end
